package com.daocao.hua.api.callback;

import com.daocao.hua.api.contract.BaseContract;
import com.daocao.hua.model.BeeCloudModel;
import com.daocao.hua.model.ConfirmDilaogModel;
import com.daocao.hua.model.DealBeforeV3Model;
import com.daocao.hua.model.GoPayModel;
import com.daocao.hua.model.PayOrderModel;
import com.daocao.hua.model.PayWayModel;
import com.daocao.hua.model.RepayModel;
import com.daocao.hua.model.RepayStatusDialogModel;

/**
 * Created by Administrator on 2017/5/14.
 */

public interface PaySelectContract {
    interface View extends BaseContract.BaseView {
        void getGoPaySuccess(GoPayModel item);

        void getBeeCloudSuccess(BeeCloudModel item, String channel);

        void getPayWaySuccess(PayWayModel item);

        void getPayOrderSuccess(PayOrderModel item);

        void getRepayDialogSuccess(RepayStatusDialogModel item);

        void confirmDialogSuccess(ConfirmDilaogModel item, String confirm);

        void getRepayDataSuccess(RepayModel item);

        void getDealBefore(DealBeforeV3Model item);
    }

    interface Presenter<T> extends BaseContract.BasePresenter<T> {
        void getGoPay(String money);

        void getBeeCloud(String action, String channel, String bill_no, String title, int total_fee);

        void getPayWay();

        // "action":"REPAY",   // 操作类型 可选值：REPAY - 还款、 RECHARGE - 充值
//         "payment_id": "15",  // 支付方式ID
//         "channel": "",    // 支付方式 可选值：WX_APP 微信手机原生APP支付、 ALI_APP 支付宝手机原生APP支付、 UN_APP 银联手机原生APP支付
//         "money":1020 // 需要支付的金额
//         "offset_money": 10,  //余额抵扣金额 （元）
//         "coupon_ids": "2,3,4,5",  //需要使用的优惠劵ID
        void getPayOrder(String action, String payment_id, String channel, String money, String offset_money, String coupon_ids, String payment_account);

        void getRepayDialog();


        void confirmDialog(String notice_id,
                           String confirm);

        void getDealBefore();
        void getRepayData();
    }
}
